<template>
  <c-form :inline="true" :form="form"></c-form>
  <c-user-task-listeners :bpmnElement="bpmnElement" ref="listenerRef"></c-user-task-listeners>
</template>

<script>
  import Form from "@/components/Form.vue";
  import {commonForm} from "@/components/bpmn/components/bpmnPropertiesPanel/forms";
  import UserTaskHOC from "./userTaskComponents/UserTaskHOC.js";
  import UserTask_Listeners from "./userTaskComponents/UserTask_Listeners.vue";


  export default {
    name: "CommonProperties",
    components: {
      "c-form": Form,
      "c-user-task-listeners": UserTaskHOC(UserTask_Listeners),
    },
    data(){
      return {
        form: commonForm.call(this),
        bpmnElement: null,
      }
    },
    methods: {
      dataReset(){
        this.form.models.id = this.businessObj.id;
        this.form.models.name = this.businessObj.name;
      }
    }
  }
</script>